using System;
using SBCommon.Data;
using SBCommon.Validation;

namespace SecurityModule.Entity
{
	[Table("[SEC_User]")]
    public class User
    {
        int _user_id;
        [Column]
        [Validator(Required = true)]
        public int user_id
        {
            get { return _user_id; }
            set { _user_id = value; }
        }
        
        string _user_name;
        [Column]
        [Validator(MaxLength = 50 , Required = true)]
        public string user_name
        {
            get { return _user_name; }
            set { _user_name = value; }
        }
        
        string _user_password;
        [Column]
        [Validator(MaxLength = 100 , Required = true)]
        public string user_password
        {
            get { return _user_password; }
            set { _user_password = value; }
        }
        
    }
}

